package com.wolfsea.viewpagerrecyclerviewpageing.pagemenulibrary
import android.content.Context
import android.view.ViewGroup
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView

/**
 *@desc  自定义GridLayoutManager
 *@author liuliheng
 *@time 2022/3/13  16:01
 **/
class DefineGridLayoutManager(context: Context, spanCount: Int, width: Int, height: Int) :
    GridLayoutManager(context, spanCount) {

    private val mWidth = width
    private val mHeight = height

    override fun generateLayoutParams(lp: ViewGroup.LayoutParams?): RecyclerView.LayoutParams {
        return super.generateLayoutParams(lp)
    }

}